package boot.spring.设计模式.桥接模式;

public class V1Drawing extends Drawing {
    @Override
    public void drawLine(double x1, double x2, double y1, double y2) {
        System.out.println("boot.spring.设计模式.桥接模式.V1Drawing.drawLine");
        DP1.draw_a_circle(x1, x2, y1, y2);
    }

    @Override
    public void drawCricle(double x1, double x2, double r) {
        System.out.println("boot.spring.设计模式.桥接模式.V1Drawing.drawCricle");
        DP2.drawCircle(x1,x2,r);
    }
}
